home *** CD-ROM | disk | FTP | other *** search
/ Scene 96 / Scene 96 International Edition (Zyklop Software) (Disc 2) (1997).iso / misc / coding / midas060 / samples / midpnt / songinfo.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-09-22  |  1.1 KB  |  48 lines

  1. /*
  2.  *      SongInfo.h
  3.  *
  4.  * MIDAS Module Player for Windows NT Song Information View
  5.  *
  6.  * Copyright 1996 Petteri Kangaslampi
  7. */
  8.  
  9. #ifndef __SONGINFO_H
  10. #define __SONGINFO_H
  11.  
  12. #include "Registry.h"
  13.  
  14.  
  15. class SongInfoWindow;
  16.  
  17. class SongInfoView : public midpView
  18. {
  19. private:
  20.     SongInfoWindow *window;
  21. public:
  22.     SongInfoView(void);
  23.     virtual ~SongInfoView(void);
  24.     virtual char *Name(void);
  25.     virtual char *Description(void);
  26.     virtual midpViewWindow *CreateViewWindow(Registry *registry = NULL);
  27.     virtual void DestroyViewWindow(midpViewWindow *window);
  28. };
  29.  
  30.  
  31. class SongInfoWindow : public midpViewWindow
  32. {
  33. protected:
  34.     midpModeless    modeless;
  35. public:
  36.     SongInfoWindow(int instanceNumber, midpView *view,
  37.         Registry *registry = NULL);
  38.     virtual ~SongInfoWindow(void);
  39. //    virtual HWND WindowHandle(void);
  40. //    virtual LRESULT SendMessage(UINT message, WPARAM wparam, LPARAM lparam);
  41. //    virtual void SongChanged(void);
  42.     void UpdateInfo(void);
  43.     BOOL CALLBACK SongInfoWindow::ClassDialogProc(HWND hwnd, UINT message,
  44.         WPARAM wparam, LPARAM lparam);
  45. };
  46.  
  47.  
  48. #endif